﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace blackhouse.Web.Controls {
	public class Paragraph : System.Web.UI.WebControls.Label {

		public override void RenderBeginTag(System.Web.UI.HtmlTextWriter writer) {
			if(!string.IsNullOrEmpty(this.CssClass))
				writer.AddAttribute("class", this.CssClass);
			writer.RenderBeginTag(System.Web.UI.HtmlTextWriterTag.P);
		}

		public override void RenderEndTag(System.Web.UI.HtmlTextWriter writer) {
			writer.RenderEndTag();
		}

	}
}